import fileinput

for line in fileinput.input(['file.txt']):
    print(line.strip())